package com.haole.ecommercepay.refunds.url;

/**
 * @author haole
 */
public class RefundsUrl {

    /**
     * 退款申请
     * POST
     */
    public static final String REFUND_APPLY = "/v3/ecommerce/refunds/apply";
    /**
     * 通过微信支付退款单号查询退款
     * GET Restful风格 https://api.mch.weixin.qq.com/v3/ecommerce/refunds/id/{refund_id}
     */
    public static final String REFUND_ID = "/v3/ecommerce/refunds/id/%s?sub_mchid=%s";
    /**
     * 通过商户退款单号查询退款
     * GET Restful风格 https://api.mch.weixin.qq.com/v3/ecommerce/refunds/out-refund-no/{out_refund_no}
     */
    public static final String OUT_REFUND_NO = "/v3/ecommerce/refunds/out-refund-no/%s?sub_mchid=%s";
}
